package com.kyriec.entity;

import java.util.Date;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 订单(Orders)表实体类
 *
 * @author KyrieC
 * @since 2023-11-29 11:51:20
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("orders")
public class Orders  {
//ID@TableId
    private Integer id;

//订单金额
    private Double total;
//商品总数
    private Integer amount;
//订单状态(1未付款/2已付款/3已发货/4已完成)
    private Integer status;
//支付方式 (1微信/2支付宝)
    private Integer paytype;

    private String name;

    private String phone;

    private String address;
//下单时间
    private Date systime;
//下单用户ID
    private Integer userId;

    private Integer goodId;

}

